package com.ferret.bean.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
public class VIIDPublish {

    private String subscribeId;
    private String title;
    private String subscribeDetail;
    private String resourceUri;
    private String applicationName;
    private String applicationOrg;
    @JsonFormat(pattern = "yyyyMMddHHmmss")
    private Date beginTime;
    @JsonFormat(pattern = "yyyyMMddHHmmss")
    private Date endTime;
    private String receiveAddr;
    private Integer reportInterval;
    private String reason;
    private Integer operateType;
    private Integer subscribeStatus;
    private Integer resourceClass;
    @JsonIgnore
    private String resultImageDeclare;
    @JsonIgnore
    private Integer resultFeatureDeclare;
    private String serverId;
    @JsonIgnore
    private Date createTime;
    @JsonIgnore
    private Date updateTime;
}
